package com.zxl.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;


/**
 * @EnableFeignClients 声明使用feign
 *
 */
@SpringBootApplication
@EnableEurekaClient
@EnableFeignClients
public class Consumer2 {

    public static void main(String[] args) {
        SpringApplication.run(Consumer2.class,args);
    }

}

